import 'dart:collection';

import 'package:simulator/core/qmp.dart';
import 'package:simulator/typedef/coroutine.dart';

class Monitor {
  static final Monitor _instance = Monitor._internal();
  Monitor._internal();

  static Monitor getInstance() => _instance;

  final LinkedList<Coroutine> _coroutine = LinkedList();
  void initGlobals() {
    _coroutine.add(Coroutine.create(monitorQmpDispatcherCo));
  }
}
